package Function;

import Function.ShoppingCart;
import java.util.Scanner;


//加入购物车中的商品
public class Add {
    public static void add(){
        System.out.println("请输入您要购买的商品编号:");
        Scanner scanner = new Scanner(System.in);
        String id = scanner.nextLine();
        ShoppingCart.addGoods(id);
    }
}
